<?php
/*
 *  @author Nicolas Genevaux
 * (c)nige 2008
 */
?>
<?php include("../include/haut.php"); ?>
<?php include_once("../inc/fct.utils.php"); ?>
<div id="titreInscription" class="titreInscription">
	<span class="title">Inscription</span>
</div>
<form id="inscriptionForms" method="post" action="<?= $PAGE_TRA_INSCRIPTION ?>">
	<div>
		<input type="hidden" name="adresseip" value="<?= $_SERVER['REMOTE_ADDR'] ?>" />
	</div>
	<div class="inscriptionLogin" id="inscriptionLogin">
		<span class="contenu">Identifiant (Votre nom)</span>
	</div>
	<div class="inscriptionLoginInput" id="inscriptionLoginInput">
		<input class="texte" name="login" value="<?= $_SESSION['login'] ?>" />
	</div>
	<div class="inscriptionMotdepasse" id="inscriptionMotdepasse">
		<span class="contenu">Mot de passe</span>
	</div>
	<div class="inscriptionMotdepasseInput" id="inscriptionMotdepasseInput">
		<input class="texte" type="password" name="motdepasse1" value="<?= $_SESSION['motdepasse'] ?>" />
	</div>
	<div class="inscriptionMotdepasse2" id="inscriptionMotdepasse2">
		<span class="contenu">Confirmez votre mot de passe</span>
	</div>
	<div class="inscriptionMotdepasse2Input" id="inscriptionMotdepasse2Input">
		<input class="texte" type="password" name="motdepasse2" value="<?= $_SESSION['motdepasse'] ?>" />
	</div>
	<div class="separatorInscription" id="separatorInscription"></div>
	<div class="inscriptionNom" id="inscriptionNom">
		<span class="contenu">Nom</span>
	</div>
	<div class="inscriptionNomInput" id="inscriptionNomInput">
		<input class="texte" name="nom" value="<?= $_SESSION['nom'] ?>" />
	</div>
	<div class="inscriptionPrenom" id="inscriptionPrenom">
		<span class="contenu">Pr&eacute;nom</span>
	</div>
	<div class="inscriptionPrenomInput" id="inscriptionPrenomInput">
		<input class="texte" name="prenom" value="<?= $_SESSION['prenom'] ?>" />
	</div>
	<div class="inscriptionSexeInput" id="inscriptionSexeInput">
		<span class="contenu">
			<input class="texte" type="radio" name="sexe" value="F" <?= checked('F',$_SESSION['sexe']) ?> />
			Fille 
			<input class="texte" type="radio" name="sexe" value="M" <?= checked('M',$_SESSION['sexe']) ?> />
			Gar&ccedil;on
		</span>
	</div>
	<div class="inscriptionDatenaissance" id="inscriptionDatenaissance">
		<span class="contenu">Ann&eacute;e de Naissance</span>
	</div>
	<div class="inscriptionDatenaissanceInput" id="inscriptionDatenaissanceInput">
		<input class="texte" name="datenaissance" value="<?= $_SESSION['datenaissance'] ?>" />
	</div>
	<div class="inscriptionMail" id="inscriptionMail">
		<span class="contenu">Mail</span>
	</div>
	<div class="inscriptionMailInput" id="inscriptionMailInput">
		<input class="texte" name="mail" value="<?= $_SESSION['mail'] ?>" />
	</div>
	<div class="inscriptionBouton" id="inscriptionBouton">
		<input class="bouton" type="submit" value="Valider" />
	</div>
	<div class="inscriptionTexte" id="inscriptionTexte">
		<span class="contenu">
			<b>Inscrivez-vous !</b>
			<?php include($RACINE.'inc/rea.inscrit_inscription.php'); ?>
		</span>
	</div>
</form>
<?php include("../include/bas.php"); ?>
